Libraries tagged by mock functions
php-mock/php-mock
9509398 Downloads
PHP-Mock can mock built-in PHP functions (e.g. time()). PHP-Mock relies on PHP's namespace fallback policy. No further extension is needed.
brain/monkey
5703508 Downloads
Mocking utility for PHP functions and WordPress plugin API
php-mock/php-mock-phpunit
4546301 Downloads
Mock built-in PHP functions (e.g. time()) with PHPUnit. This package relies on PHP's namespace fallback policy. No further extension is needed.
php-mock/php-mock-mockery
1102247 Downloads
Mock built-in PHP functions (e.g. time()) with Mockery. This package relies on PHP's namespace fallback policy. No further extension is needed.
php-mock/php-mock-integration
5847386 Downloads
Integration package for PHP-Mock
php-mock/php-mock-prophecy
309556 Downloads
Mock built-in PHP functions (e.g. time()) with Prophecy. This package relies on PHP's namespace fallback policy. No further extension is needed.
brain/faker
43052 Downloads
Faker (phpfaker/faker) for WordPress via Brain Monkey
icecave/isolator
1236135 Downloads
Dependency injection for global functions.
duncan3dc/uopz-expectations
135901 Downloads
Mock core functions and set up expectations similar to Mockery
phpcurl/curlwrapper
95279 Downloads
The simplest OOP wrapper for curl, curl_multi, curl_share functions. Use CURL as a dependency, not hard-coded!
adriansuter/php-autoload-override
20687 Downloads
Override global scoped fully qualified function calls inside your class methods in order to be able to mock them during testing.
myplanetdigital/function_mock
49162 Downloads
Framework that helps mocking functions for unit testing PHP scripts
kenjis/monkey-patch
9015 Downloads
Monkey patching for exit(), functions, methods, and constants
dreamscapes/ldap-core
82598 Downloads
Object encapsulation of PHP's native ldap functions
lancerhe/phpunit-mock
16475 Downloads
PHPUnit extension to Mock PHP internal functions using Runkit.